.el-card {
  position: relative;
  border-radius: 2px;
  background-color: $--color-white;
  border: 1px solid $--border-color-base;

  .el-card__header {
    position: relative;
    padding: 16px 16px 16px 0;
    //height: 58px;
    line-height: 16px;
    border-bottom-color: $--border-color-light;

    .gc-card__title {
      position: relative;
      padding: 0 16px;
      font-size: 14px;
      font-weight: 600;
      border-left: 3px solid $--color-primary;
    }

    .gc-card__more {
      position: absolute;
      top: 50%;
      right: 16px;
      transform: translateY(-50%);
      font-weight: 400;
      line-height: 16px;
      color: $--color-text-secondary;
      font-size: 12px;
      &:hover {
        color: $--color-text-primary;
      }
    }
  }

  .el-card__body {
    //position: relative;
    padding: 0;
  }
  //需要padding的内容
  .gc-card__cont {
    padding: 24px;
  }
  //需要padding的内容
  .gc-card__cont--nopd {
    padding: 0;
  }
}

.gc-card--secondary {
  .el-card__header {
    .gc-card__title {
      border-left: none !important;
      font-size: 16px;
    }
  }
}

// 简洁版
.gc-card--simple {
  border: none !important;
  .el-card__header {
    padding: 0 16px;
    line-height: 40px;
    .gc-card__title {
      border-left: none !important;
      display: inline-block;
      position: relative;
      font-size: 14px;
      font-weight: 400;
      color: $--color-primary;
      line-height: 41px;
      margin-bottom: -1px;
      &:before {
        content: '';
        position: absolute;
        bottom: 0;
        width: calc(100% - 32px);
        height: 2px;
        background-color: $--color-primary;
      }
    }
  }
}

// 简洁竖线版
.gc-card--line{
  border: none !important;
  .el-card__header {
    padding: 0;
    line-height: 40px;
    border: none;
    .gc-card__title {
      position: relative;
      font-size: 14px;
      font-weight: 700;
      color: $--color-text-primary;
      line-height: 41px;
      margin-bottom: -1px;
      &:before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: calc(100% - 32px);
        height: 16px;
        width: 3px;
        background-color: $--color-primary;
      }
    }
  }
}
